package com.snap.vseries.ui.widget;

import android.content.Context;
import android.graphics.Canvas;
import android.view.View;

public class Layer extends View {
    private int a;
    private int b;
    private int g;
    private int r;

    public Layer(Context context) {
        super(context);
    }

    public void setColor(int aa, int rr, int gg, int bb) {
        this.a = aa;
        this.r = rr;
        this.g = gg;
        this.b = bb;
        invalidate();
    }

    /* access modifiers changed from: protected */
    public void onDraw(Canvas canvas) {
        super.onDraw(canvas);
        canvas.drawARGB(this.a, this.r, this.g, this.b);
    }
}